<?php if(!defined('A')) exit;?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $r['title'];?>_文章推荐_英语分级阅读_轻松背单词</title>
<meta name="keywords" content="<?php echo $r['title'];?>,文章推荐,英语分级阅读,轻松背单词" />
<meta name="description" content="<?php echo $r['title'];?>,文章推荐,英语分级阅读,轻松背单词" />
<!--[if IE 6]>
<?php
loadjs('DD_belatedPNG_0.0.8a-min',P_JS);
?>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<?php
loadjs(array('common','jquery','user'),P_JS);
loadcss(array('main'));
?>
<script>
$(document).ready(function(){
	var email=$('#email');
	var msg=$('#msg');
	var captcha=$('#captcha');
	$('#myform').submit(function(){
			var myreg = /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
			if(!myreg.test(email.val())){
				alert('email格式不正确！');
				email.focus();
				return false;
			}
			if(msg.val().length==0){
				alert('留言内容不能为空！');
				msg.focus();
				return false;
			}
			if(captcha.val().length<4){
				alert('验证码不正确！');
				captcha.focus();
				return false;	
			}
			return true;
	});
	var imgcode=$('#imgcode');
	imgcode.css('cursor','pointer').hide();
	$('#captcha').focus(function(){
		if(imgcode.attr('src')==''){
			imgcode.attr('src','/code.php?'+Math.random()).fadeIn();
		}
	});
	imgcode.click(function(){
		$(this).attr('src','/code.php?'+Math.random());
	});
});
</script>
</head>
<body>
<!--头部开始-->
<?php include(dirname(dirname(__FILE__)).'/header.inc.php');?>
<!--头部结束-->

<div class="m" id="list_box">
<div class="index_l r_bian">
<div id="bread">当前位置：<a href="/">首页</a> -> 文章推荐</div>
<div align="center" class="r_title" id="wzbt">文章推荐【<?php echo $r['title']; ?>】</div>

<br />
<form action="<?php echo url('arc','recommend_');?>" method="post" id="myform">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="right">您好友的email:</td>
    <td align="left"><input name="email" id="email" type="text" value="" /></td>
  </tr>
  <tr>
    <td align="right">你的留言：</td>
    <td align="left">
    <textarea name="msg" cols="60" rows="6" id="msg">
你好，我在 [<?php echo $this->conf->WEB['url'];?>] 发现了一个很好的东东：
你不妨去看看吧！

文档的名称是：<?php echo $r['title']; ?>

网址是：<?php echo $this->conf->WEB['url'].trim($r['htmlurl'],'/');?>
</textarea>
</td>
  </tr>
  <tr>
    <td align="right">验证码：</td>
    <td align="left">
    <input type="text" name="captcha" value="" id="captcha" autocomplete="off" />&nbsp;<img src="" id="imgcode" title="点击更换" align="absmiddle" />
    </td>
  </tr>
  <tr>
    <td colspan="2" align="center">
    <input name="arc_id" type="hidden" value="<?php echo $r['id'];?>" />
<input name="submit" type="submit" value="发送" />
    </td>
    </tr>
</table>

</form>
<br />

</div>

<div class="index_r">

<div class="l_bian">
    <ul style="text-align:center;" class="l_top">会员登陆</ul>
	<div id="form_login"></div>
</div>

<div class="l_bian top8">
    <ul style="text-align:center;" class="l_top">热门单词标签</ul>
    <div>
<ul style="line-height: 23px;" class="c1 ico2">
	<?php
    $tag=$widget->hot_wordtags(20);
	$tag=(is_array($tag))?$tag:array();
	foreach($tag as $v){
	?>
    <a title="<?php echo $v['tag'];?>" target="_blank" href="<?php echo url('wordtag','arc_list','tag='.urlencode($v['tag']));?>"><?php echo $v['tag'];?></a>&nbsp;
    <?php
	}
	unset($tag);
	?>
</ul>
    </div>
</div>
<div class="l_bian top8">
    <ul style="text-align:center;" class="l_top">热点内容</ul>
    <div style="width:100%; " class="l_box">
    <ul class="doing_ul_l">
    
	<?php
    $tag=$widget->hot_article(10);
	$tag=(is_array($tag))?$tag:array();
	foreach($tag as $k=>$v){
	?>
    <li><?php echo $k+1;?>.<a target="_blank" title="<?php echo $v['title'];?>" href="<?php echo $v['htmlurl'];?>"><?php echo $v['title'];?></a></li>
    <?php
	}
	unset($tag);
	?>
        
    </ul>
    </div>
</div>
<!---->
   <div class="l_bian top8">
    <ul style="text-align:center;" class="l_top">推荐内容</ul>
    <div style="width:100%; " class="l_box">
    <ul class="doing_ul_l">
	<?php
    $tag=$widget->cmd_article(10);
	$tag=(is_array($tag))?$tag:array();
	foreach($tag as $k=>$v){
	?>
    <li><?php echo $k+1;?>.<a target="_blank" title="<?php echo $v['title'];?>" href="<?php echo $v['htmlurl'];?>"><?php echo $v['title'];?></a></li>
    <?php
	}
	unset($tag);
	?>
    </ul>
    </div>
</div>       
</div>

</div>

<!--尾部开始-->
<?php include(dirname(dirname(__FILE__)).'/footer.inc.php');?>
<!--尾部结束-->

</body>
</html>